package exceptexample;

public class NullPoint {
    int i;

    public static void main(String[] args) {
        NullPoint nullPoint = new NullPoint();

        nullPoint = null;
        System.out.println(nullPoint.i);
    }
}
